package kgc.crm.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
    * 商机阶段变化表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "kgc_crm_crm_business_change")
public class BusinessChange {
    @TableId(value = "change_id", type = IdType.AUTO)
    private Integer changeId;

    /**
     * 商机ID
     */
    @TableField(value = "business_id")
    private Integer businessId;

    /**
     * 阶段ID
     */
    @TableField(value = "status_id")
    private Integer statusId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id")
    private Long createUserId;

    public static final String COL_CHANGE_ID = "change_id";

    public static final String COL_BUSINESS_ID = "business_id";

    public static final String COL_STATUS_ID = "status_id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_CREATE_USER_ID = "create_user_id";
}